package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.api.content.model.dto.TeachplanDTO;
import com.xuecheng.content.entity.Teachplan;


public interface TeachPlanService extends IService<Teachplan> {
    /**
     * 根据课程id查询课程计划
     * @param courseId
     * @param companyId
     * @return
     */
    TeachplanDTO queryTeachPlanByCourseId(Long courseId, Long companyId);

    /***
     * 创建或修改课程计划
     * @param dto
     * @param companyId
     * @return
     */
    TeachplanDTO createOrModifyTeachPlan(TeachplanDTO dto,Long companyId);

    void deleteTeachPlan(Long teachPlanId,Long companId);
}
